package com.doudizu.shoesonline.model.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.io.Serializable;
import java.util.Date;

/**
 * 尺码
 * @TableName size
 */
@TableName(value ="size")
@Data
public class Size implements Serializable {
    /**
     * 尺码id
     */
    @TableId(type = IdType.AUTO)
    private Integer id;

    /**
     * 尺码
     */
    private Double size;

    /**
     * 状态(0:禁用 1:启用)
     */
    private Integer status;

    /**
     * 创建时间
     */
    private Date createTime;

    /**
     * 更新时间
     */
    private Date updateTime;

    @TableField(exist = false)
    private static final long serialVersionUID = 1L;
}